Skip to content

[elsa] 知识检索节点添加userId入参#97

Merged
CodeCasterX merged 2 commits into
ModelEngine-Group:3.5.xfrom
RonnyChan96:3.5.x_knowledge_retrieval_node_add_userId_input
Apr 28, 2025
Merged

[elsa] 知识检索节点添加userId入参#97
CodeCasterX merged 2 commits into
ModelEngine-Group:3.5.xfrom
RonnyChan96:3.5.x_knowledge_retrieval_node_add_userId_input

Conversation

@RonnyChan96
Copy link
Copy Markdown
Contributor

为支持外部知识库接入,知识检索节点添加userId入参

@RonnyChan96 RonnyChan96 self-assigned this Apr 27, 2025
@RonnyChan96 RonnyChan96 requested review from a team, jhsdia, loveTsong and wuayee and removed request for a team, jhsdia, loveTsong and wuayee April 27, 2025 09:28
@RonnyChan96 RonnyChan96 added type: enhancement A general enhancement in: elsa Issues in Elsa modules labels Apr 27, 2025
}

const optionParamProcess = () => {
const optionValue = self.shapeData.flowMeta.jober.converter.entity.inputParams.find(inputParam => inputParam.name === 'option').value;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

find返回结果可能为null,会导致代码报错,建议取value值前判断一下find结果

@CodeCasterX CodeCasterX added this to Nova Apr 27, 2025
@CodeCasterX CodeCasterX added this to the 3.5.0 milestone Apr 27, 2025
@CodeCasterX CodeCasterX merged commit a76e8f0 into ModelEngine-Group:3.5.x Apr 28, 2025
1 check passed
@github-project-automation github-project-automation Bot moved this to Done in Nova Apr 28, 2025
@CodeCasterX CodeCasterX modified the milestones: 3.5.0, elsa 0.1.0 May 14, 2025
Yager-42 pushed a commit to Yager-42/fit-framework that referenced this pull request Aug 16, 2025
* [elsa] 知识检索节点添加userId入参

* [elsa] 检视意见修改,增加对inputParam中option的空判断
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in: elsa Issues in Elsa modules type: enhancement A general enhancement

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants